package com.cwt_taxi_xa.util;

import android.text.TextUtils;

public class CompareUtil {
	public static boolean equals(String one,String two){
		if(TextUtils.isEmpty(one) && TextUtils.isEmpty(two)){
			return true;
		}else if(!TextUtils.isEmpty(one) && !TextUtils.isEmpty(two) && one.equals(two)){
			return true;
		}
		return false;
	}


	public static boolean equals(int one,int two){
		if(one > -1 && two > -1){
			if(one == two){
				return true;
			}
		}
		return false;
	}
}
